package com.monkey.tensquare.article.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity(name = "tb_article")
public class Article implements Serializable {
    @Id
    private String id;
    private String columnid;
    private String userid;
    private String title;
    private String content;
    private String image;
    private String createtime;
    private String updatetime;
    private String ispublic;
    private String istop;
    private String visits;
    private String thumbup;
    private String comment;
    private String state;
    private String channelid;
    private String url;
    private String type;
}
